package com.yjht.online.generate;

import com.yjht.online.generate.model.org.CorpInfo;
import com.yjht.online.generate.model.org.LrdOrg;
import com.yjht.online.generate.model.org.OrgInfo;
import com.yjht.online.generate.model.person.SysRole;

import java.util.List;

public class GlobalContext {

    /**
     * 导入机构信息
     */
    private static List<OrgInfo> orgInfos;
    /**
     * 角色配置
     */
    public static List<SysRole> sysRoles;

    /**
     * 机构
     */
    private static List<LrdOrg> lrdOrgs;
    /**
     * 法人
     */
    private static CorpInfo corpInfo;

    /**
     * 微营销 角色配置
     * @return
     */
    public static List<SysRole> getWyxSysRoles;

    public static List<SysRole> getGetWyxSysRoles() {
        return getWyxSysRoles;
    }

    public static void setGetWyxSysRoles(List<SysRole> getWyxSysRoles) {
        GlobalContext.getWyxSysRoles = getWyxSysRoles;
    }

    public static List<SysRole> getSysRoles() {
        return sysRoles;
    }
    public static CorpInfo getCorpInfo() {
        return corpInfo;
    }
    public static void setSysRoles(List<SysRole> sysRoles) {
        GlobalContext.sysRoles = sysRoles;
    }

    public static void setLrdOrgs(List<LrdOrg> lrdOrgs) {
        GlobalContext.lrdOrgs = lrdOrgs;
    }
    public static void setCorpInfo(CorpInfo corpInfo) {
        GlobalContext.corpInfo = corpInfo;
    }

    public static List<OrgInfo> getOrgInfos() {
        return orgInfos;
    }

    public static void setOrgInfos(List<OrgInfo> orgInfos) {
        GlobalContext.orgInfos = orgInfos;
    }
    public static List<LrdOrg> getLrdOrgs() {
        return lrdOrgs;
    }
}
